include_directories(${PROJECT_SOURCE_DIR}/common/utils/include)
include_directories(${PROJECT_SOURCE_DIR}/base/common/include)
include_directories(${PROJECT_SOURCE_DIR}/base/media/include)
include_directories(${PROJECT_SOURCE_DIR}/foundation/stream_service/include)
include_directories(${PROJECT_SOURCE_DIR}/base/web_server/include)
include_directories(${PROJECT_SOURCE_DIR}/base/record/include)
include_directories(${PROJECT_SOURCE_DIR}/third_party/include)
include_directories(${PROJECT_SOURCE_DIR}/hal/init/include)

# 添加源码目录
include_directories(${PROJECT_SOURCE_DIR}/foundation/record/src)

link_directories(${PROJECT_SOURCE_DIR}/third_party/lib/${CMAKE_SYSTEM_PROCESSOR})
link_libraries(-Wl,--start-group ${EL_ALL_LIBS} gtest gtest_main -Wl,--end-group)

# 添加测试
enable_testing()

# 添加测试可执行文件
add_executable(record_record_test
    record_record_test.cpp
)

# 添加测试
add_test(NAME RecordRecordTest COMMAND record_record_test)
